﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EmailSend.aspx.cs" Inherits="Admin_Email_EmailSend" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>邮件发送</title>
<link rel="stylesheet" href="../skin/style.css" type="text/css" />
<style type="text/css">
.kusie td { border: 0px; padding:0px;}
</style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="talbe_border">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="talbe_list">
        <tr>
            <th align="center" colspan="2" class="header tou">
                <b>邮件发送</b>
            </th>
        </tr>
        <tr>
            <td width="16%" class="left1">
                <strong>收件人：</strong>
            </td>
            <td width="84%" class="left2">
        <span><asp:TextBox ID="txtTo" runat="server" Width="350px" Height="20px"></asp:TextBox></span><div style="color:Red;">*多个收件人请用","隔开</div>
            </td>
        </tr>
        <tr>
            <td class="left1">
                <strong>收件人(会员等级)：</strong>
            </td>
            <td class="left2">
                <span><asp:DropDownList ID="ddlist" runat="server" Width="100px">
                </asp:DropDownList></span><div style="color:Red;">*收件人同时还包括上面手动输入的地址</div>
            </td>
        </tr>
        <tr>
            <td class="left1">
                <strong>是否使用Html格式：</strong>
            </td>
            <td class="left2">
                <asp:RadioButtonList ID="isRadio" runat="server" RepeatDirection="Horizontal" Height="20" CssClass="kusie">
                    <asp:ListItem Value="0">使用</asp:ListItem>
                    <asp:ListItem Value="1" Selected="True">不使用</asp:ListItem>
                </asp:RadioButtonList></td>
        </tr>
        <tr>
            <td class="left1">
                <strong>邮件主题：</strong>
            </td>
            <td class="left2">
               <span><asp:TextBox ID="txtTitle" runat="server" Width="350px" Height="20px"></asp:TextBox></span>
                <div style="color:Red;">*邮件主题不能为空!</div>
            </td>
        </tr>
        <tr>
            <td class="left1">
                <strong>邮件内容：</strong>
            </td>
            <td>
                <div>
                  <asp:TextBox ID="txtBody" runat="server" Width="430px" Height="350px" TextMode="MultiLine"></asp:TextBox>
                  </div>
                <div style=" float:left; color:Red;">* 邮件内容不能为空!</div>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center" bgcolor="#F0F7FD">
                 <asp:Button ID="btnSend" runat="server" Text="发送" OnClick="btnSend_Click" CssClass="i_button" />
                <asp:Button ID="btnReset" runat="server"  Text="清除" CssClass="i_button" /><asp:Label ID="lblMessage" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
